using System.Collections.Generic;
using UnityEngine;

public class BallCommand
{
    public uint frame;
    public Vector3 moveDir;
    public List<Vector3> positionList;
    public List<Vector3> velocityList;
    public BallCommand(uint _frame, Vector3 _moveDir)
    {
        frame = _frame;
        moveDir = _moveDir;
        positionList = new List<Vector3>();
        velocityList = new List<Vector3>();
    }

    public void StoreResult(Vector3 _position, Vector3 _velocity)
    {
        positionList.Add(_position);
        velocityList.Add(_velocity);
    }
}